<?php

namespace pmvc\mvc;

interface RequestWrapper {
	
	/**
	 * Called before the request.
	 * @param Request $request the {@link Request}
	 * @param Response $response the {@link Response}
	 * @return bool whether or not to continue servicing the request
	 */
    public function beforeRequest(Request $request, Response $response);
	
	/**
	 * Called after the request.
	 * @param Request $request the {@link Request}
	 * @param Response $response the {@link Response}
	 */
    public function afterRequest(Request $request, Response $response);

}



?>